<html xmlns:th="http://www.thymeleaf.org">
<head th:include="common/common :: copyCommon"></head>
<link rel="stylesheet" href="/css/dialog.css" th:href="@{/css/dialog.css}" />
<script type="text/javascript" th:src="@{/js/sys/role/add.js}">
</script>
<style type="text/css">
 div {
     margin: 10px;
 }
 label{
      width:120px;
      text-align:center;
 }
 input{
      width:320px;
 }
</style>
<body style="background:white">
    <div class="l_err" style="width: 100%; margin-top: 2px;"></div>
    <form id="form" name="form" class="form-horizontal" method="post" th:action="@{/sys/role/addEntity}" style="width:600px">
        <section class="panel panel-default">
            <div class="panel-body" style="margin-right: 15px">
                <div class="form-group">
                    <label class="control-label"><span class="color-red">*</span>角色名：</label>
                    <input type="text" class="form-control checkRole" placeholder="角色名" name="name" id="name" />
                </div>
                <div class="form-group">
                    <label class="control-label"><span class="color-red">*</span>角色key：</label>
                    <input type="text" class="form-control" placeholder="角色key" name="roleKey" id="roleKey" />
                </div>
                <div class="form-group" style="height:100px">
                    <label class="control-label">描述：</label>
                    <textarea rows="4" cols="10" class="form-control" placeholder="描述" name="description" id="description" style="height:100px"></textarea>
                </div>
            </div>
            <footer class="panel-footer text-right bg-light lter">
                <!--<button type="submit" class="btn btn-success btn-s-xs">鎻愪氦</button>-->
                <!--<button type="button" class="btn btn-cancel cancel">鍙栨秷</button>-->
                <div class="main_rmc_operate">
                    <button type="submit" class="main_rmc_btn main_rmc_btn_success submit">确定</button>
                    <button type="button" class="main_rmc_btn cancel">取消</button>
                </div>
            </footer>
        </section>
    </form>
</body>
</html>